package com.example.tivi.entity;

import java.io.Serializable;
import java.util.List;

public class Category implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7307701195542275887L;
	private int id;
	private String name;
	private String thumbnail;
	private List<Channel> channels;
	
	public Category(int id, String name, List<Channel> channels,String thumbnail) {
		super();
		this.id = id;
		this.name = name;
		this.channels = channels;
		this.thumbnail=thumbnail;
	}
	
	public Category() {
	}
	
	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Channel> getChannels() {
		return channels;
	}
	public void setChannels(List<Channel> channels) {
		this.channels = channels;
	}
	
	
}
